package levels
{
    public class Level3 extends LevelModel
    {
    
        public function Level3()
        {
            playerX = 100;
            playerY = 100;
            
            /*
                0 - building [id, x, y, width, height]
                1 - grider [id, x, y, length, rotation]
                2 - billboard [id, x, y, width, height]
            */
            background.push([0,0,120,100,380]);    
            background.push([0,580,100,300,400]);            
            background.push([1,140,120,30,0]);
            background.push([1,240,120,30,0]);
            background.push([1,360,120,30,0]);
            background.push([1,480,120,30,0]);
            
            //background.push([1,520,200,100,90]);
            //background.push([2,290,130,250,110]);
            
            /*              
                1 - ChainSaw
                2 - Mace 
                3 - ElectricCharge
            */
            
            //enemies.push({"type":3, "x":350, "y":130, "delay":20, "sleep":90})
            enemies.push({"type":1, "radius":25, "x":270, "y":425})
            enemies.push({"type":1, "radius":25, "x":340, "y":420})
            enemies.push({"type":1, "radius":25, "x":410, "y":425})
            enemies.push({"type":1, "radius":25, "x":480, "y":420})
            enemies.push({"type":1, "radius":25, "x":550, "y":425})
            //enemies.push({"type":3, "x":500, "y":130, "delay":10, "sleep":85})
            //enemies.push({"type":1, "radius":25, "x":580, "y":120})
            //enemies.push({"type":2, "velocity":20, "x":500, "y":300})
        }
    
    }
}
